package org.ppassantini.cham.core.business.security.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The Entity class for the table user_profile
 * 
 * @author ppassantini
 */
@Entity
@Table(name = "user_profile")
public class UserProfile implements Serializable {

	private static final long serialVersionUID = 2657690413487433939L;

	@Id
	@GeneratedValue
	@Column(name = "iduser_profile", insertable = false, updatable = false)
	private int iduserProfile;

	@Column(name = "idprofile")
	private int idprofile;

	@Column(name = "idusers")
	private int idusers;

	/**
	 * @return
	 */
	public int getIduserProfile() {
		return iduserProfile;
	}

	/**
	 * @param iduserProfile
	 */
	public void setIduserProfile(int iduserProfile) {
		this.iduserProfile = iduserProfile;
	}

	/**
	 * @return
	 */
	public int getIdprofile() {
		return idprofile;
	}

	/**
	 * @param idprofile
	 */
	public void setIdprofile(int idprofile) {
		this.idprofile = idprofile;
	}

	/**
	 * @return
	 */
	public int getIdusers() {
		return idusers;
	}

	/**
	 * @param idusers
	 */
	public void setIdusers(int idusers) {
		this.idusers = idusers;
	}

}
